using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Storage;

namespace SolanumSolstice_Windows
{
    public class GameCursor
    {

        private int screenPositionX;
        private int screenPositionY;
        private int cursorSpeed;
        private Texture2D texture;
        private int radius;

        #region Accessors

        public int ScreenPositionX
        {
            get
            {
                return screenPositionX;
            }
            set
            {
                screenPositionX = value;
            }
        }

        public int ScreenPositionY
        {
            get
            {
                return screenPositionY;
            }
            set
            {
                screenPositionY = value;
            }
        }

        public int CursorSpeed
        {
            get
            {
                return cursorSpeed;
            }
            set
            {
                cursorSpeed = value;
            }
        }
        
        #endregion


        public GameCursor(Texture2D cursor, int radius)
        {

            texture = cursor;
            screenPositionX = 100;
            screenPositionY = 100;
            cursorSpeed = 4;
            this.radius = radius;


        }

        public void Draw(SpriteBatch spritebatch)
        {
            spritebatch.Draw(texture, new Rectangle(screenPositionX - radius, screenPositionY - radius, radius * 2, radius * 2), Color.White);

        }
    }
}
